package com.account.book.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liang-hw
 * @className ReportMoneyVo
 * @description 图表统计入参
 * @date 2023/11/09 14:21:40
 */
@Data
@ApiModel(value = "图表统计入参", description = "图表统计入参")
public class StatisticsReqVo {
    @ApiModelProperty("账本id")
    @NotNull(message = "账本id不能为空")
    private String bookId;

    @ApiModelProperty("查询类型，（0-总 1-年 2-月 3-周")
    private Integer timeType;

    @ApiModelProperty("1-支出，0-收入")
    private Integer type;

    @ApiModelProperty("查询起始时间")
    private String startTime;

    @ApiModelProperty("查询结束时间，时间范围时使用")
    private String endTime;
}
